/**
 * Copyright (c) 2014, Facebook, Inc.
 * All rights reserved.
 *
 * This source code is licensed under the BSD-style license found in the
 * LICENSE file in the root directory of this source tree. An additional grant
 * of patent rights can be found in the PATENTS file in the same directory.
 *
 */

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  background-color: #fff;
}

body {
  color: #4e5665;
  font-family: 'Helvetica Neue', Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif;
  margin: 0;
  line-height: 1.5em;
}

.hackHeader {
  background-color: #000;
  border-bottom: solid 4px #afafaf;
  margin-bottom: 4;
  min-width: 550px;
  padding: 10px 0;
  width: 100%;
}

.hackHeader:after {
  clear: both;
  content: ".";
  display: block;
  font-size: 0;
  height: 0;
  line-height: 0;
  visibility: hidden;
}

.width {
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  background-image: url('http://hacklang.org/wp-content/themes/hack/hack.png');
  background-size: 150px 75px;
  background-position: 0 50%;
  background-repeat: no-repeat;
  float: left;
  line-height: 60px;
  overflow: hidden;
  text-indent: 100%;
  width: 115px;
}

.headerNav {
  padding: 0;
  margin: 0;
}

.headerNav ul {
  float: right;
  line-height: 2em;
  margin: 0 0 0 10px;
  padding: 0;
  text-align: right;
}

.headerNav li {
  display: inline;
  text-transform: uppercase;
}

.headerNav li a {
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  line-height: 60px;
  margin-left: 14px;
  text-decoration: none;
}

@media (min-width: 650px) {
  .headerNav li a {
    letter-spacing: 0.1em;
    margin-left: 24px;
  }
}

@media (min-width: 1000px) {
  .headerNav li a {
    font-size: 15px;
    margin-left: 34px;
  }

  .mainColumn {
    float: left;
    width: 660px;
  }

  div.nav {
    float: right;
    margin: 0;
    width: 220px;
  }

  .width {
    width: 960px;
  }
}

h1 {
  margin: 0 0 16px 0;
  text-align: center;
  display: inline-block;
  width: 100%;
}

h1 .docs {
  float: right;
}

h3 {
  text-size: 1.3em;
}

.mainContainer {
  height: 100%;
  margin: 0 auto;
  max-width: 900px;
  padding-top: 30px;
}

.nav {
  padding-bottom: 4px;
  margin: 0 auto;
  width: 650px;
}

a, a.navItem, a h3.navItem, .docs a {
  color: #445987;
  font-weight: bold;
}

h3.navItem {
  font-weight: bold;
}

.nav a:hover {
  text-decoration: underline;
}

.navSections {
  margin-top: 0;
  padding-left: 0;
}

.navItem {
  color: #000;
  margin: 2px 4px;
}

.navItems {
  list-style-position: inside;
  padding-left: 10px;
}

.navSectionItem {
  list-style-type: none;
}

a:link, a:visited, a:active {
  text-decoration:none;
}
a:hover {
  text-decoration:underline;
}

.mainColumn {
  background-color: #fff;
  margin: 0 auto 30px;
  max-width: 650px;
}

.demo {
  line-height: 2em;
}

.demo h2 {
  text-align: center;
}

.code, .demoResult {
  border: 1px solid #4e5665;
  font-family: monospace;
  line-height: 1em;
  margin: 4px 0;
  max-height: 400px;
  overflow-y: scroll;
  padding: 4px;
}

.filename {
  font-weight: bold;
  text-align: right;
}

.button {
  background-color: #878787;
  -webkit-border-radius:5px;
  -moz-border-radius:5px;
  border-radius:5px;
  border:1px solid;
  color:#ffffff;
  font-family: 'Helvetica Neue', Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif;
  font-size:16px;
  -webkit-font-smoothing: antialiased;
  font-weight:bold;
  height: auto;
  margin: 0;
  padding: 2px 6px 3px;
  text-align:center;
  text-shadow:1px 1px 0px #4e5665;
}

.button:hover {
  background-color: #fd8724;
  text-decoration: none;
}

.button:active {
  position:relative;
  text-decoration: none;
  top:1px;
}
